package com.glitter.player.springbootinfluxdb.module;

import lombok.Data;

import java.util.Date;

@Data
public class ServerDeviceData extends ServerDeviceDataKey {
	
    private String deviceId;

    private String pointId;

    private String agentId;

    private String key;

    private String pointValue;

    private Date lastCollTime;

    private Date endCollTime;

    private Date addTime;

    private String deviceName;

    private String pointName;

    private String devicePointId;

    private Date startCollTime;

    private Date time;

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    public String getDeviceName() {
        return deviceName;
    }

    public void setDeviceName(String deviceName) {
        this.deviceName = deviceName;
    }

    public String getPointName() {
        return pointName;
    }

    public void setPointName(String pointName) {
        this.pointName = pointName;
    }

    public String getDevicePointId() {
        return devicePointId;
    }

    public void setDevicePointId(String devicePointId) {
        this.devicePointId = devicePointId;
    }

    public Date getStartCollTime() {
        return startCollTime;
    }

    public void setStartCollTime(Date startCollTime) {
        this.startCollTime = startCollTime;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId == null ? null : deviceId.trim();
    }

    public String getPointId() {
        return pointId;
    }

    public void setPointId(String pointId) {
        this.pointId = pointId == null ? null : pointId.trim();
    }

    public String getAgentId() {
        return agentId;
    }

    public void setAgentId(String agentId) {
        this.agentId = agentId == null ? null : agentId.trim();
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key == null ? null : key.trim();
    }

    public String getPointValue() {
        return pointValue;
    }

    public void setPointValue(String pointValue) {
        this.pointValue = pointValue == null ? null : pointValue.trim();
    }

    public Date getLastCollTime() {
        return lastCollTime;
    }

    public void setLastCollTime(Date lastCollTime) {
        this.lastCollTime = lastCollTime;
    }

    public Date getEndCollTime() {
        return endCollTime;
    }

    public void setEndCollTime(Date endCollTime) {
        this.endCollTime = endCollTime;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
}